public class Employee {
    int id;
    String name;
    int age;
    double salary;  //double
    MyDate birthday;  //mydate类型的生日
    public void showMessage(){   //定义一个方法 用于显示员工信息
        System.out.println("名字:"+name+"生日是"+birthday.year+"年"+birthday.month+"月"+birthday.day+"日");
        name = "";

    }


}

